<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<script src="../../js/mui.min.js"></script>
		<link href="../../css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="../../css/share/common.css" />
		<link rel="stylesheet" href="../../css/shopping/circleTopic.css" />
	</head>

	<body ng-app="myApp" ng-controller="huati" ng-cloak>
		<div class="mui-content">
			<ul class="main_list" infinite-scroll="loadMore()" infinite-scroll-distance="0">
				<li class="box_orient_h" ng-repeat="topic in topics" onclick="hide()">
					<div class="main_img">
						<img src={{topic.pic}}>
					</div>
					<div class="main_content flex-b">
						<p>
							{{topic.topicTitle}}
						</p>
						<p class="main_content_article">
							{{topic.topicContent}}<span class="main_content_articlef">({{topic.topicType}})</span>
						</p>
						<ul class="main_img_list clearfix">
							<li ng-repeat="pic in topic.images">
								<img src={{pic.pic}} onload="initImg(this)">
							</li>
						</ul>
						<div class="main_content_operate clearfix">
							<span class="main_content_time pull_left">{{topic.createTime}}</span>
							<span class="main_operate pull_right"><a class="mian_zan zan-{{topic.zanStatus}}" ng-click="zan(topic.id)">{{topic.zanstatustext}}</a><a class="main_pinglun" onclick="show(event)" ng-click="pl(topic.id)">评论</a></span>
						</div>
						<ul class="mian_totailzan clearfix" ng-show="topic.zanListstatus">
							<li class="mian_zanimg">
								&nbsp;
							</li>
							<li ng-repeat="nameZan in topic.zanList track by $index">
								{{nameZan}}、
							</li>
							<li class="people">
								共{{topic.people}}人觉得很赞
							</li>
							<span class="sanjiao"></span>
						</ul>
						<ul class="main_pinglunlist">
							<li ng-repeat="reply in topic.replyList">
								<a class="name">{{reply.nickname}}：</a>{{reply.content}}
								<!--<div>{{reply.createTime}}</div>-->
							</li>
						</ul>
					</div>
				</li>
			</ul>
			<div class="nohuati" id="nohuati"><img src="../../image/shopping/noallation.png" width="70px">
				<div>
					您还没有话题哦~
				</div>
			</div>
		</div>
		<div class="input_mess clearfix" id="send">
			<div class="area pull_left">
				<textarea oninput="check(this)" id="pl"></textarea>
			</div>
			<div class="btn pull_left">
				<button id="btn" class="ibtn" disabled="disabled" ng-click="reply()">
						发送
				</button>
			</div>
		</div>
		<span class="mui-action-back" style="height: 0;"></span>
	</body>
	<script type="text/javascript" src="../../js/common.js"></script>
	<script type="text/javascript" src="../../js/angular.min.js"></script>
	<script type="text/javascript" src="../../js/ng-infinite-scroll.min.js"></script>
	<script type="text/javascript" src="../../js/localData.js"></script>
	<script type="text/javascript" src="../../js/md5.js"></script>
	<script type="text/javascript" src="../../js/request.js"></script>
	<script type="text/javascript" src="../../script/shopping/circleTopic.js"></script>

</html>